package org.gitos.cloud.domain.mq;

import java.io.Serializable;

import org.gitos.cloud.domain.comm.Constant;
import org.gitos.cloud.domain.tcp.Bucket;

/**
 * Created by shizhengchu on 15/12/11. 推送到
 */
public class MqMsg implements Serializable {
	private static final long serialVersionUID = 2861032600114018163L;

	// 事件类型
	private short event = Constant.CMD_DEFAULT;
	// comet节点id
	private String nodeId;
	// channel连接的id
	private String channelId;
	// 帐号标签
	private String token;

	private Bucket bucket;

	private String pubIp;

	public String getPubIp() {
		return pubIp;
	}

	public void setPubIp(String pubIp) {
		this.pubIp = pubIp;
	}

	public int getEvent() {
		return event;
	}

	public void setEvent(short event) {
		this.event = event;
	}

	public String getNodeId() {
		return nodeId;
	}

	public void setNodeId(String nodeId) {
		this.nodeId = nodeId;
	}

	public String getChannelId() {
		return channelId;
	}

	public void setChannelId(String channelId) {
		this.channelId = channelId;
	}

	public Bucket getBucket() {
		return bucket;
	}

	public void setBucket(Bucket bucket) {
		this.bucket = bucket;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}
}
